package com.site.wisdom_construction.service.healthEpidemicModel;

import com.site.wisdom_construction.dao.healthEpidemicModel.WristbandElectronicFenceDao;
import com.site.wisdom_construction.entity.healthEpidemicModel.WristbandElectronicFence;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/5/9
 * @Description
 */
@Service
public class WristbandElectronicFenceService implements WristbandElectronicFenceDao {
    @Autowired
    private WristbandElectronicFenceDao wristbandElectronicFenceDao;

    @Override
    public int insertWristbandElectronicFence(Map map) {
        return wristbandElectronicFenceDao.insertWristbandElectronicFence(map);
    }

    @Override
    public int deleteWristbandElectronicFence(Map map) {
        return wristbandElectronicFenceDao.deleteWristbandElectronicFence(map);
    }

    @Override
    public List<WristbandElectronicFence> findWristbandElectronicFence(Map map) {
        return wristbandElectronicFenceDao.findWristbandElectronicFence(map);
    }

    @Override
    public long Total(Map map) {
        return wristbandElectronicFenceDao.Total(map);
    }

    @Override
    public List<WristbandElectronicFence> selectWristbandElectronicFence(Map map) {
        return wristbandElectronicFenceDao.selectWristbandElectronicFence(map);
    }
}
